basic testing of relay